type net.byPriorityWeight
7 uses
net (current package)
dnsclient.go#L158: type byPriorityWeight []*SRV
dnsclient.go#L160: func (s byPriorityWeight) Len() int { return len(s) }
dnsclient.go#L161: func (s byPriorityWeight) Less(i, j int) bool {
dnsclient.go#L164: func (s byPriorityWeight) Swap(i, j int) { s[i], s[j] = s[j], s[i] }
dnsclient.go#L168: func (addrs byPriorityWeight) shuffleByWeight() {
dnsclient.go#L191: func (addrs byPriorityWeight) sort() {
lookup.go#L753: byPriorityWeight(srvs).sort()
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |